package cn.design.realize.defaultadapter;

/**
 * @author dlq
 * @description 狗类，继承 DefaultAdapter
 *              狗： 只有吃饭和摇尾巴
 * @date 2020/9/16 14:17
 * @since 1.0
 */
public class Dog extends DefaultAdapter {

    @Override
    public void eat(String name) {
        System.out.println("eat吃饭  ....."+name);
    }

    @Override
    public void waggingTai(String name) {
        System.out.println("eat吃饭  ....."+name);
    }
}
